Skip to content

Bump mashumaro from 2.9 to 2.10.1 in /core#9

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/core/mashumaro-2.10.1
Closed

Bump mashumaro from 2.9 to 2.10.1 in /core#9
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/core/mashumaro-2.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 31, 2021

Copy link
Copy Markdown

Bumps mashumaro from 2.9 to 2.10.1.

Release notes

Sourced from mashumaro's releases.

v2.10.1

Changes

v2.10

Changes

  • Added support for dialects.
  • Fixed type hints for to_msgpack and from_msgpack methods. See Fatal1ty/mashumaro#63.
  • Fixed serialzation / deserialization override using serialization_strategy config option in a generic dataclass.

v2.9.1

Changes

  • Fixed installing with third-party tool pdistx. See Fatal1ty/mashumaro#60.
  • Fixed serialzation / deserialization override for Union and TypeVar types. See Fatal1ty/mashumaro#61.
  • Fixed the default value of by_alias argument of to_dict method when using serialize_by_alias config option. In the previous versions by_alias argument had a default valueFalse regardless of whether serialize_by_alias config options was used. Now it could be True:
@dataclass
class MyClass(DataClassDictMixin):
    x: int
class Config(BaseConfig):
    aliases = {"x": "x_alias"}
    serialize_by_alias = True
    code_generation_options = [TO_DICT_ADD_BY_ALIAS_FLAG]

print(MyClass(x=1).to_dict())  # {'x_alias': 1}
print(MyClass(x=1).to_dict(by_alias=False))  # {x': 1}

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 2.9 to 2.10.1.
- [Release notes](https://github.com/Fatal1ty/mashumaro/releases)
- [Commits](Fatal1ty/mashumaro@v2.9...v2.10.1)

---
updated-dependencies:
- dependency-name: mashumaro
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 31, 2021
@dependabot @github

dependabot Bot commented on behalf of github Jan 4, 2022

Copy link
Copy Markdown
Author

Superseded by #10.

@dependabot dependabot Bot closed this Jan 4, 2022
@dependabot dependabot Bot deleted the dependabot/pip/core/mashumaro-2.10.1 branch January 4, 2022 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants